package com.label.Model.Do.LearningAnalysis;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName PHYSICAL_FITNESS_INFO
 */
public class PhysicalFitnessInfo implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 关联学生基本信息表 学号
     */
    private String stuCode;

    /**
     * 班级
     */
    private String classLabel;

    /**
     * 关联班级表 班级id
     */
    private Long classId;

    /**
     * 第一学年成绩
     */
    private Long year1Grade;

    /**
     * 第二学年成绩
     */
    private Long year2Grade;

    /**
     * 第三学年成绩
     */
    private Long year3Grade;

    /**
     * 第四学年成绩
     */
    private Long year4Grade;

    /**
     * 逻辑删除
     */
    private Integer isDeleted;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新人
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 备注
     */
    private String remark;

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    public Long getId() {
        return id;
    }

    /**
     * id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 姓名
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 关联学生基本信息表 学号
     */
    public String getStuCode() {
        return stuCode;
    }

    /**
     * 关联学生基本信息表 学号
     */
    public void setStuCode(String stuCode) {
        this.stuCode = stuCode;
    }

    /**
     * 班级
     */
    public String getClassLabel() {
        return classLabel;
    }

    /**
     * 班级
     */
    public void setClassLabel(String classLabel) {
        this.classLabel = classLabel;
    }

    /**
     * 关联班级表 班级id
     */
    public Long getClassId() {
        return classId;
    }

    /**
     * 关联班级表 班级id
     */
    public void setClassId(Long classId) {
        this.classId = classId;
    }

    /**
     * 第一学年成绩
     */
    public Long getYear1Grade() {
        return year1Grade;
    }

    /**
     * 第一学年成绩
     */
    public void setYear1Grade(Long year1Grade) {
        this.year1Grade = year1Grade;
    }

    /**
     * 第二学年成绩
     */
    public Long getYear2Grade() {
        return year2Grade;
    }

    /**
     * 第二学年成绩
     */
    public void setYear2Grade(Long year2Grade) {
        this.year2Grade = year2Grade;
    }

    /**
     * 第三学年成绩
     */
    public Long getYear3Grade() {
        return year3Grade;
    }

    /**
     * 第三学年成绩
     */
    public void setYear3Grade(Long year3Grade) {
        this.year3Grade = year3Grade;
    }

    /**
     * 第四学年成绩
     */
    public Long getYear4Grade() {
        return year4Grade;
    }

    /**
     * 第四学年成绩
     */
    public void setYear4Grade(Long year4Grade) {
        this.year4Grade = year4Grade;
    }

    /**
     * 逻辑删除
     */
    public Integer getIsDeleted() {
        return isDeleted;
    }

    /**
     * 逻辑删除
     */
    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    /**
     * 创建人
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 创建人
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 更新人
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 更新人
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PhysicalFitnessInfo other = (PhysicalFitnessInfo) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getStuCode() == null ? other.getStuCode() == null : this.getStuCode().equals(other.getStuCode()))
            && (this.getClassLabel() == null ? other.getClassLabel() == null : this.getClassLabel().equals(other.getClassLabel()))
            && (this.getClassId() == null ? other.getClassId() == null : this.getClassId().equals(other.getClassId()))
            && (this.getYear1Grade() == null ? other.getYear1Grade() == null : this.getYear1Grade().equals(other.getYear1Grade()))
            && (this.getYear2Grade() == null ? other.getYear2Grade() == null : this.getYear2Grade().equals(other.getYear2Grade()))
            && (this.getYear3Grade() == null ? other.getYear3Grade() == null : this.getYear3Grade().equals(other.getYear3Grade()))
            && (this.getYear4Grade() == null ? other.getYear4Grade() == null : this.getYear4Grade().equals(other.getYear4Grade()))
            && (this.getIsDeleted() == null ? other.getIsDeleted() == null : this.getIsDeleted().equals(other.getIsDeleted()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getStuCode() == null) ? 0 : getStuCode().hashCode());
        result = prime * result + ((getClassLabel() == null) ? 0 : getClassLabel().hashCode());
        result = prime * result + ((getClassId() == null) ? 0 : getClassId().hashCode());
        result = prime * result + ((getYear1Grade() == null) ? 0 : getYear1Grade().hashCode());
        result = prime * result + ((getYear2Grade() == null) ? 0 : getYear2Grade().hashCode());
        result = prime * result + ((getYear3Grade() == null) ? 0 : getYear3Grade().hashCode());
        result = prime * result + ((getYear4Grade() == null) ? 0 : getYear4Grade().hashCode());
        result = prime * result + ((getIsDeleted() == null) ? 0 : getIsDeleted().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", stuCode=").append(stuCode);
        sb.append(", classLabel=").append(classLabel);
        sb.append(", classId=").append(classId);
        sb.append(", year1Grade=").append(year1Grade);
        sb.append(", year2Grade=").append(year2Grade);
        sb.append(", year3Grade=").append(year3Grade);
        sb.append(", year4Grade=").append(year4Grade);
        sb.append(", isDeleted=").append(isDeleted);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}